<template>
 <div>
  <h2>我是父组件</h2>
  <!-- <MySon :value="msg" @input="msg = $event"/>  -->
  <MySon v-model="msg"/> 
 </div>
</template>

<script>
import MySon from './components/MySon.vue'
 export default {
  components:{
    MySon
  },
   name: '',
   props: {
   },
   data(){
    return {
      msg:'123',
    }
   },
   methods:{
    // modify(e){
    //   this.msg = e
    // }
   },
   
 }
</script>

<style scoped lang='less'>

</style>